<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>VHX</title>
    <script type="text/javascript" language="javascript">
      var _vhx = new Array();
      <%
        out.println( "_vhx['login_url']='" + request.getAttribute( "login_url" ) + "';" );
        out.println( "_vhx['logout_url']='" + request.getAttribute( "logout_url" ) + "';" );
        out.println( "_vhx['is_admin']=" + request.getAttribute( "is_admin" ) + ";" );
        out.println( "_vhx['is_gae_prod']=" + request.getAttribute( "is_gae_prod" ) + ";" );

        String strUser = (String) request.getAttribute( "user" );
        if ( strUser == null )
          out.println( "_vhx['user']=null;" );
        else
          out.println( "_vhx['user']='" + strUser + "';" );
      %>
    </script>
    <script type="text/javascript" language="javascript" src="vhx/vhx.nocache.js"></script>
  </head>

  <!--                                           -->
  <!-- The body can have arbitrary html, or      -->
  <!-- you can leave the body empty if you want  -->
  <!-- to create a completely dynamic UI.        -->
  <!--                                           -->
  <body>

    <!-- OPTIONAL: include this if you want history support -->
    <!--iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe-->
    
    <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
    <noscript>
      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
      </div>
    </noscript>

  </body>
</html>

